//
//  IconsModel.h
//  AffectionBee
//
//  Created by 王炯 on 16/8/20.
//  Copyright © 2016年 chivalrous. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface IconsAndActivitiesModel : NSObject


//4个按钮的标题
@property (nonatomic,copy) NSString *name;

//4个按钮的图片
@property (nonatomic,copy) NSString *img;

//4个按钮的点击之后的链接地址
@property (nonatomic,copy) NSString *customURL;

//图片轮播器图片的链接地址
@property (nonatomic,copy) NSString *toURL;


//初始化方法
+(instancetype)IconsModelWithDict:(NSDictionary *)dict;


//连接网络，返回数组
+(void)GetIconDataArrayWithDataType:(NSString *)dataType  Sucess:(void (^)(NSArray<IconsAndActivitiesModel *> *))successBlock Error:(void (^)())errorBlock;

+ (void)GetIconDataArraySucess:(void (^)(NSDictionary *))successBlock Error:(void (^)())errorBlock;

@end
